﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
/// Summary description for AccountManager
/// </summary>
public static class AccountManager
{
    public static Account createAccount(int balance)
    {
        Account a = new Account();
        a.Balance = balance.ToString();
        if (DatabaseManager.saveAccount(ref a))
            return a;
        return null;  
    }
}
